<script setup lang="ts">
import TabBar from "components/common/tabbar/TabBar.vue";
</script>

<template>
  <!-- vue-router 老版写法 -->
  <!-- <keep-alive exclude="Detail">
    <router-view></router-view>
  </keep-alive> -->

  <!-- vue-router 4.0 以上写法 -->
  <router-view v-slot="{ Component }">
    <transition name="router-fade" mode="out-in">
      <keep-alive>
        <component :is="Component" />
      </keep-alive>
    </transition>
  </router-view>


  <TabBar></TabBar>
</template>

<style lang="less">
@import "assets/style/base.less";
</style>
